-
-
Notifications
You must be signed in to change notification settings - Fork 258
[gguussuu] WEEK 01 solutions #1690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
모든 파일은 맨 마지막 줄을 갱신하셔서 빈줄을 추가해서 올려주시면 감사하겠습니다!
줄갱이 없으면 CI 에서 걸려요 ㅜ.ㅜ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네넵 수정했습니다 !
| */ | ||
| var containsDuplicate = function(nums) { | ||
| //Set은 중복된 값을 허용하지 않기 때문에, 배열을 Set으로 변환한 후 길이를 비교하여 중복 여부를 확인 | ||
| const hasDuplicate = new Set(nums).size !== nums.length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gguussuu 님 코드 보고 힌트를 얻어서 저도 덕분에 쉽게 풀었네요ㅎㅎ 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아직 상태가 soving 이긴하지만 approve 하겠습니다~ (그런데 위 코치님이 말씀하신 것 처럼 마지막에 비어있는 라인이 없어서 승인이 불가한가봐요~)
|
Projects의 오른쪽 버튼(▼)을 눌러 확장한 뒤, Week를 현재 주차로 설정해주세요. |
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!